package emi99

const (
	//支付方式说明：typeCode
	// 支付方式:微信
	TypeCodeWechat = "WECHAT"
	// 支付方式:支付宝
	TypeCodeAlipay = "ALIPAY"
	// 支付方式:云闪付
	TypeCodeUnionpay = "UNIONPAY"
	// 支付方式:银行卡
	TypeCodeCard = "CARD"

	//订单状态说明：status
	// 初始状态
	StatusInit = "INIT"
	// 待支付状态 	(调用查询接口)
	StatusPayWait = "PAY_WAIT"
	// 支付成功
	StatusSuccess = "SUCCESS"
	// 支付失败
	StatusFail = "FAIL"
	// 已退货 	(原交易已退货)
	StatusRefund = "REFUND"
	// 已关闭 	(原订单已关闭)
	StatusCLOSED = "CLOSED"
	// 已撤销     (原订单已撤销)
	StatusReversed = "REVERSED"
	// 退款处理中  (调用退款查询接口)
	StatusProcessing = "PROCESSING"

	// 返回码说明：code
	RspCodeSuccess       = "00" //请求成功
	RspCodeFail          = "01" //处理失败
	RspCodeCheckSignFail = "07" //验签失败
	RspCodeGenSignFail   = "08" //平台生成签名失败
	RspCodeNone          = "09" //订单信息不存在 (预下单订单需继续查询，其他交易请核实订	单信息)
	RspCodeParamsFail    = "97" //请求参数缺失或不合法
	RspCodeBizFail       = "98" //业务处理异常
	RspCodeSystemFail    = "99" //系统异常
)
